package com.witfortos.common.base

/**
 *   @auther : tan
 *   time   : 2020-07-10
 */
interface IBaseResponse<T> {
    fun responeCode(): Int
    fun responeMsg(): String
    fun requestId(): String
    fun data(): T
    fun isSuccess(): Boolean = responeCode() == 0;
}